<template>
    <div>
        <router-link :to="{name:'Pc'}" tag="h2">笔记本</router-link>
        <router-link :to="{name:'Phone'}" tag="h2">手机</router-link>
        <router-view/>

    </div>
</template>

<script>
    export default {
        name:'Detil'
    }
</script>

<style lang="less" scoped>
h2{
    display: inline-block;
    margin: 0 20px;
}
</style>